home *** CD-ROM | disk | FTP | other *** search
- /*
- * Main.wod
- *
- * You may freely copy, distribute and reuse the code in this example.
- * NeXT disclaims any warranty of any kind, expressed or implied, as to
- * its fitness for any particular use.
- *
- * This is the declarations file for the Main (first) page of the
- * HappyBirthday application.
- *
- */
-
-
- FORM: WOForm {method="POST";};
-
- NAME_FIELD:WOTextField {
- value = nameString;
- };
-
- AGE_FIELD:WOTextField {
- value = ageString;
- };
-
- TEXTFIELD:WOText {
- value = messageString;
- rows="5";
- cols="40";
- };
-
- NAMEGROUP:WORepetition {
- list = WOApp.namesArray;
- item = anItem;
- };
-
-
- NAMEGROUP.A_NAME:WOString {
- value = anItem.aName;
- };
-
-
- SUBMIT_BUTTON:WOSubmitButton {
- multipleSubmit=YES;
- action = happyBirthday;
- };
-
- SHOW_RECIPIENTS_BUTTON:WOSubmitButton {
- multipleSubmit=YES;
- action = showRecipients;
- value = "Show all recipients";
- };
-